package designPattern.factoryMethod.static_;

import designPattern.factoryMethod.MailSender;
import designPattern.factoryMethod.Sender;
import designPattern.factoryMethod.SmsSender;

/**
 * Created by cdxuhongya on 2017/1/6.
 */
public class SendFactory {
    public static Sender productMailSender(){
        return new MailSender();
    }
    public static Sender productSmsSender(){
        return new SmsSender();
    }
}
